package cn.wolfcode.crm.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Getter
@Setter
public class ClientTraceList {
    private Long id;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    //记录时间
    private Date planTime;
    //记录主题
    private String planSubject;
    //记录内容
    private String planDetail;
    //记录实施方式，查数据字典
    private Details planType;
    //跟进效果 3优，2中，1查
    private Long traceResult = 1L;
    //备注
    private String remark;
    //潜在客户对象
    private Client potentialClient;
    //创建人 录入的当前登陆用户
    private Employee inputUser;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    //创建时间 创建的当前系统时间
    private Date inputTime;

}